<%--
  Created by IntelliJ IDEA.
  User: zkt
  Date: 2023/9/23
  Time: 16:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="css/bootstrap.min.css">
        <script src="js/jquery-3.7.1.min.js"></script>
        <script src="js/popper.min.js"></script>
        <script src="js/bootstrap.min.js"></script>

        <title>我的</title>
    </head>
    <body>
        <nav class="navbar navbar-default" style="height: 50px" role="navigation">
            <div class="container">
                <ul class="nav navbar-nav navbar-left">
                    <li><a href="index.jsp"><img src="images/back.png" height="25px" width="25px" alt="">&nbsp;首页</a>
                    </li>
                </ul>
                <div class="navbar-header">
                    <a class="navbar-brand" href="index.jsp">${userName}</a>
                </div>
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="/logout">退出登录&nbsp;&nbsp;<img src="images/logout.png" height="25px" width="25px"
                                                                   alt=""></a>
                    </li>
                </ul>
            </div>
        </nav>
        <div class="container">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <div class="container">
                        <h1>个人信息</h1>
                    </div>
                </div>
                <div class="table-responsive">
                    <table class="table table-striped">
                        <tr>
                            <td class="col-lg-2 col-md-2 col-sm-2 col-xs-2">
                                <strong>性别：</strong>
                            </td>
                            <td>${user.getUsersex()}</td>
                        </tr>
                        <tr>
                            <td>
                                <strong>年龄：</strong>
                            </td>
                            <td>${user.getUserage()}</td>
                        </tr>
                        <tr>
                            <td>
                                <strong>地区：</strong>
                            </td>
                            <td>${user.getAddress()}</td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <strong>个性签名：</strong>
                                <br><br>
                                <p style="text-indent:2em">${user.getSignature()}</p>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <a class="btn btn-success" href="/alterPage">修改</a>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </body>
</html>
